package com.macro.mall.domain;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 消息装配的完整类
 * 提供也界面展示历史记录
 */
public class MessageManagementAssemble {

    @ApiModelProperty(value = "发送人id")
    private Long fromId;

    @ApiModelProperty(value = "发送人fromUsername")
    private String fromUsername;

    @ApiModelProperty(value = "接收人Id")
    private Long toId;

    @ApiModelProperty(value = "接收人toUsername")
    private String toUsername;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "消息（留言）内容")
    private String content;

    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }

    public String getFromUsername() {
        return fromUsername;
    }

    public void setFromUsername(String fromUsername) {
        this.fromUsername = fromUsername;
    }

    public Long getToId() {
        return toId;
    }

    public void setToId(Long toId) {
        this.toId = toId;
    }

    public String getToUsername() {
        return toUsername;
    }

    public void setToUsername(String toUsername) {
        this.toUsername = toUsername;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
